#ifndef ASYNCTASK_H
#define ASYNCTASK_H

#include "executionobjectinterface.h"

#include <QDebug>
#include <QObject>
#include <QString>
#include <QThread>

class AsyncTask : public QObject
{
    Q_OBJECT
public:
    explicit AsyncTask(ExecutionObjectInterface *, QObject *parent = 0);
    ~AsyncTask();

    void execute();

public slots:
    void errorString(QString);

signals:
    void error(QString);

private:
    QThread *thread_;
    ExecutionObjectInterface *executionObject_;
};

#endif // ASYNCTASK_H
#ifndef ASYNCTASK_H
#define ASYNCTASK_H

#endif // ASYNCTASK_H
